#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
void fun(char *s)
{int i,j;
 for(i=0,j=0; s[i]!= '\0'; i++)
     if(s[i]>= '0'&&s[i]<= '9')
/*************found**************/
        s[j++]=s[i];
/*************found**************/
 s[j]='\0';
}
void main()
{char item[80];
 system("CLS");
 printf("\nEnter a string: ");gets(item);
 printf("\n\nThe string is:%s\n",item);
 fun(item);
 printf("\n\nThe string of changing is :%s\n",item);
}
